#Makefile

OCAML=ocamlopt
OCAMLFLAGS= -I +lablgtk2 -I +camlimages
OCAMLLD= lablgtk.cmxa graphics.cmxa camlimages.cmxa
OUTPUT=VirgoTerris


VirgoTerris: types.cmx obj_manager.cmx colorParser.cmx sampler.cmx boarderProcess.cmx interface.cmx virgoTerris.ml
	${OCAML} ${OCAMLFLAGS} ${OCAMLLD} -o ${OUTPUT} obj_manager.cmx types.cmx colorParser.cmx sampler.cmx boarderProcess.cmx interface.cmx virgoTerris.ml  

.SUFFIXES: .ml .cmx

.ml.cmx:
	${OCAML} ${OCAMLFLAGS} ${OCAMLLD} -c $<

clean::
	rn -f *.cm? *.c *~

#EOF